package c.e.a.b.f.b;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import b.i.b.f;
import com.google.android.gms.measurement.internal.zzku;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class s9 implements Creator<zzku> {
    public final Object createFromParcel(Parcel parcel) {
        Parcel parcel2 = parcel;
        int j1 = f.j1(parcel);
        String str = null;
        Long l = str;
        Float f = l;
        String str2 = f;
        String str3 = str2;
        Double d = str3;
        long j = 0;
        int i = 0;
        while (parcel.dataPosition() < j1) {
            int readInt = parcel.readInt();
            switch (65535 & readInt) {
                case 1:
                    i = f.R0(parcel2, readInt);
                    break;
                case 2:
                    str = f.j0(parcel2, readInt);
                    break;
                case 3:
                    j = f.S0(parcel2, readInt);
                    break;
                case 4:
                    readInt = f.T0(parcel2, readInt);
                    if (readInt != 0) {
                        f.t1(parcel2, readInt, 8);
                        l = Long.valueOf(parcel.readLong());
                        break;
                    }
                    l = null;
                    break;
                case 5:
                    readInt = f.T0(parcel2, readInt);
                    if (readInt != 0) {
                        f.t1(parcel2, readInt, 4);
                        f = Float.valueOf(parcel.readFloat());
                        break;
                    }
                    f = null;
                    break;
                case 6:
                    str2 = f.j0(parcel2, readInt);
                    break;
                case 7:
                    str3 = f.j0(parcel2, readInt);
                    break;
                case 8:
                    readInt = f.T0(parcel2, readInt);
                    if (readInt != 0) {
                        f.t1(parcel2, readInt, 8);
                        d = Double.valueOf(parcel.readDouble());
                        break;
                    }
                    d = null;
                    break;
                default:
                    f.h1(parcel2, readInt);
                    break;
            }
        }
        f.q0(parcel2, j1);
        return new zzku(i, str, j, l, f, str2, str3, d);
    }

    public final /* synthetic */ Object[] newArray(int i) {
        return new zzku[i];
    }
}
